package com.example.springcloud.entity;

import java.io.Serializable;

/**
 * 
 * @author JZH
 * @AllArgsConstructor ：全参构造器
 * @NoArgsConstructor：无参构造器
 * @Data：getter、setter方法
 * @Accessors(chain=true)：链式访问
 */
//@AllArgsConstructor 
//@NoArgsConstructor
//@Data
//@Accessors(chain=true)
public class Dept implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long deptno;
	
	private String dname;
	
	private String db_source;

	public Long getDeptno() {
		return deptno;
	}

	public void setDeptno(Long deptno) {
		this.deptno = deptno;
	}


	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getDb_source() {
		return db_source;
	}

	public void setDb_source(String db_source) {
		this.db_source = db_source;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Dept() {
		super();
	}

	@Override
	public String toString() {
		return "Dept [deptno=" + deptno + ", dname=" + dname + ", db_source=" + db_source + "]";
	}

	public Dept(Long deptno, String dname, String db_source) {
		super();
		this.deptno = deptno;
		this.dname = dname;
		this.db_source = db_source;
	}

	

	
}
